package com.rpay.web.param;

import javax.validation.constraints.NotNull;

public class Convert {
    @NotNull(message = "请输入数量")
    private String amount;
    @NotNull(message = "请输入验证码")
    private String code;
    @NotNull(message = "验证码类型不能为空")
    private String type;

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Convert{" +
                "amount='" + amount + '\'' +
                ", code='" + code + '\'' +
                ", type='" + type + '\'' +
                '}';
    }
}
